[train][jax] Skip py3.12 for jax test#58979
Merged
justinvyu merged 1 commit intoray-project:masterfrom Nov 26, 2025
Merged
Conversation
Signed-off-by: Lehui Liu <lehui@anyscale.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds pytest.mark.skipif decorators to JAX tests to skip them on Python 3.12 and newer, as the required JAX version is not compatible. The changes are correct and effectively address the issue. I've added one suggestion to refactor the duplicated skipif condition in test_jax_trainer.py into module-level constants to improve code maintainability.
elliot-barn
approved these changes
Nov 25, 2025
Contributor
|
Thanks for the quick PR. I'll create a set of dependencies with a more recent jax version for the py3.12 tests in the near future |
justinvyu
approved these changes
Nov 26, 2025
KaisennHu
pushed a commit
to KaisennHu/ray
that referenced
this pull request
Nov 26, 2025
1. Jax dependency is introduced in ray-project#58322 2. The current test environment is for CUDA 12.1, which limit jax version below 0.4.14. 3. jax <= 0.4.14 does not support py 3.12. 4. skip jax test if it runs against py3.12+. Signed-off-by: Lehui Liu <lehui@anyscale.com>
SheldonTsen
pushed a commit
to SheldonTsen/ray
that referenced
this pull request
Dec 1, 2025
1. Jax dependency is introduced in ray-project#58322 2. The current test environment is for CUDA 12.1, which limit jax version below 0.4.14. 3. jax <= 0.4.14 does not support py 3.12. 4. skip jax test if it runs against py3.12+. Signed-off-by: Lehui Liu <lehui@anyscale.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description